package com.iotechn.unimall.data.dto.excel;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ExcelTarget("SalesSendOrderExeclEntity")
@Data
public class SalesSendOrderExeclImportDTO {
    @Excel(name = "条码(必填)")
    @NotNull(message = "必填")
    private String barCode;
    @Excel(name = "品名(必填)")
    @NotNull(message = "必填")
    private String skuName;
    @Excel(name = "件数(必填)")
    @NotNull(message = "必填")
    private Integer pieceNum;
    @Excel(name = "数量(必填)")
    @NotNull(message = "必填")
    private Double num;
    @Excel(name = "总价(必填)")
    @NotNull(message = "必填")
    private Double totalPrice;
    @Excel(name = "门店编号(必填)")
    @NotNull(message = "必填")
    private Long storeId;
    @Excel(name = "库房编号(必填)")
    @NotNull(message = "必填")
    private Long warehouseId;

}
